package com.example.demo.service;

import com.example.demo.entity.Goods;
import com.example.demo.entity.User;
import com.example.demo.vo.Result;

import java.sql.SQLException;
import java.util.List;

/**
 * @Description
 * @Author chenhuiyu
 * @Date 2023/11/8
 */
public interface UserService {

    User login(User user);

    List<Goods> findGoods(User user);

    List<User> findUsers(User user);

    Result userToGoods(User user);

    User add(User user);

    User findUserByName(User user);
}
